package me.zhengjie.modules.system.service

import me.zhengjie.modules.system.domain.DictDetail
import me.zhengjie.modules.system.service.dto.DictDetailDTO
import me.zhengjie.modules.system.service.dto.DictDetailQueryCriteria
import org.springframework.data.domain.Pageable

/**
 * @author Kuki Wu
 * @date 2019-04-10
 */
interface DictDetailService {
    fun findById(id: Long): DictDetailDTO?
    fun create(resources: DictDetail): DictDetailDTO?
    fun update(resources: DictDetail)
    fun delete(id: Long)
    fun queryAll(criteria: DictDetailQueryCriteria, pageable: Pageable?): Any?
}